<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title>编辑在线客服信息</title>
<link href="css/base.css" rel="stylesheet" type="text/css">
</head>
<body background='images/allbg.gif' leftmargin='8' topmargin='8'>
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6">
  <tr>
    <td height="28" background="images/tbg.gif" style="padding-left:10px;">
    	<b><a href="online_service_main.php"><u>在线客服管理</u></a></b> &gt;&gt; 编辑在线客服信息</td>
</tr>
<tr>
    <td height="200" bgcolor="#FFFFFF" valign="top">
	<form action="online_service_edit.php" method="post" enctype="multipart/form-data" name="form1">
	<input type="hidden" name="id" value="<?php echo $myService['id']?>">
	<input type="hidden" name="dopost" value="saveedit">
	<table width="80%"  border="0" cellspacing="1" cellpadding="3">
	  <tr>
        <td width="19%" height="25">客服名称：</td>
        <td width="81%">
        <input name="kefuname" type="text" id="kefuname" value="<?php echo $myService['kefuname']?>" size="30" class='pubinputs' />
        </td>
      </tr>
      <tr>
        <td height="25">客服号码：</td>
        <td><input name="kefusize" type="text" id="kefusize" size="30" value="<?php echo $myService['kefusize']?>" class='pubinputs' /></td>
      </tr>
      <tr>
        <td width="19%" height="25">客服类别：</td>
        <td width="81%">
        	<select name="kefutype" id="kefutype">
					<option value="1" <?php if($myService['kefutype']=='1') echo " selected='selected' "?>>QQ在线客服</option>
					<option value="2" <?php if($myService['kefutype']=='2') echo " selected='selected' "?>>阿里旺旺客服</option>
					<option value="3" <?php if($myService['kefutype']=='3') echo " selected='selected' "?>>电话号码</option>
			</select>
        </td>
      </tr>
      <tr>
        <td height="25">客服分组：</td>
        <td>
        <select name="typeid" id="typeid">
        <?php
        echo "	<option value='".$myService['typeid']."'>".$myService['typename']."</option>\r\n";
        $dsql->SetQuery("select * from #@__onlinekefu_type where id<>'".$myService['typeid']."'");
        $dsql->Execute();
        while($row=$dsql->GetObject()){
        	echo "	<option value='".$row->id."'>".$row->typename."</option>\r\n";
        }
        ?>
        </select>
        </td>
      </tr>
      <tr>
        <td height="51">&nbsp;</td>
        <td>
        	<input type="submit" name="Submit" value=" 提 交 " class="np coolbg" />　 　
          <input type="reset" name="Submit" value=" 返 回 " onClick="location.href='<?php echo $ENV_GOBACK_URL?>';" class="np coolbg" />
         </td>
      </tr>
    </table>
	</form>
 </td>
</tr>
</table>
</body>
</html>